Fixed the error with the angles
Hard coded offset based on height of application bar, might be different
fro your computer.