Working leftbar menu with animations. Code needs some abstraction to make general pages easier to implement