fix slider layouts