Added calendar hiding on select

Refer to issue #2