Observe the motion of the boss. What does he do?
Left and right.
Just remember to use If on edge, bounce (碰到邊緣反彈)