fixed setting of top for mpanel