Commented unused code and reverted bar X position.