I have to a image view named foreground. foreground can be rotated, zoomed and moved but it can move to outside the screen. how can I restrict its movement not to go outsid