show keyboard only if input visible