remove the opposite direction class when hiding or showing calendar
always show calendar when input got focus