paint linear gradient on grade page