bug fix for zoom on time layout