Code Clean Up and Paralax effect for slidepanel