calculation the keyboard height for your view