post top and sticky function