Fixing slider issues