fixed problem on some screen sizes due to non-relative offset