Draw axis depending on screen size