Implemented vertial and horizontal offset options