fixed #46, hide prevnext container when empty