fixed some bugs with lastzoom

fixed some bugs including buttons visibility