some minor changes and change all absoloute values to relative values depending on screen size