fixing zoom + boundaries