try not using absolute, it makes things jagged when using a smooth sin or cos movement method.