translating the div so that it stays fixed