function innerHeight implemented