corrected the time function + scaling of the Barscreen