Implemented leftAndRight() functionality for moving platforms. Refactored platform movement methods.