Fixing carousel issues and adding previous and back buttons