Modified caption styles
Added new close events

on key up; on key down; on window scroll