added slide down logic