Reduce delay when switching views