Fixing slide menu movement.
Big refactoring.