fix medium and small screen positioning