Detect toolbar height