properly setting spinner height to avoid unnecessary gap