Added image dragging and change alpha on picture change
more readable code