position and shadow for slider