layer slider transitions not working