Added dynamic screen size re-scaling