formatting
remove padding
add snapmatrixtobounds to panning